package com.iplay.service.notification.core;

import com.iplay.component.im.Message;
import com.iplay.component.im.OutgoingMessage;

public abstract class AbstractOutgoingMessage implements OutgoingMessage{
	
	private String receiver;
	private Message message;

	public AbstractOutgoingMessage(String receiver, Message message) {
		this.receiver = receiver;
		this.message = message;
	}

	@Override
	public String getReceiver() {
		return receiver;
	}

	@Override
	public Message getMessage() {
		return message;
	}

}
